دیزاین :
کد :
RadioGroup rgp = root.FindViewById(Resource.Id.rbGroup); rgp.RemoveAllViews(); RadioGroup.LayoutParams rprms; // RadioGroup ll = new RadioGroup(Activity); //ll.Orientation = Orientation.Horizontal; // #7F7F7F //#7F7F7F //15sp //IRANSansMobile.ttf ContextThemeWrapper newContext = new ContextThemeWrapper(Activity, Resource.Style.RadioButtonColor); RadioButton radioButton = new RadioButton(newContext); radioButton.Text = dt.Rows[i]["Title"].ToString(); /* radioButton.Tag = Convert.ToInt32(dt.Rows[i]["Id"].ToString()); radioButton.Id = i;*/ radioButton.Tag = Convert.ToInt32(dt.Rows[i]["Amount"].ToString()); radioButton.Id = Convert.ToInt32(dt.Rows[i]["Id"].ToString()); if (i == 0) radioButton.Checked = true; radioButton.SetTextColor(Android.Graphics.Color.ParseColor("#7F7F7F")); radioButton.ButtonTintList = (Android.Content.Res.ColorStateList.ValueOf(Android.Graphics.Color.ParseColor("#7F7F7F")));
Android.Graphics.Typeface tf = Android.Graphics.Typeface.CreateFro C# و SQL Server نکته های جالب و مهم در ...
ما را در سایت C# و SQL Server نکته های جالب و مهم در دنبال می کنید
برچسب : radio button right side,radio button right android,radio button right align,radio button right to left,radio button right label, نویسنده : alinaiemabadio بازدید : 158 تاريخ : دوشنبه 19 مهر 1395 ساعت: 12:42